//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using CommunityServer.Components;

namespace CommunityServer.Discussions.Components
{
	/// <summary>
	/// Summary description for IrcCommandsModule.
	/// </summary>
	public class IrcCommandsModule : BaseForumFormattedBodyModule
	{
		public IrcCommandsModule()
		{
			//
			// TODO: Add constructor logic here
			//
		}

		protected override void Format(ForumPost post)
		{
			post.FormattedBody = Formatter.FormatIrcCommands(post.FormattedBody, post.Username);
		}
	}
}
